package com.jzl.swing.rowmapper.impl;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.jzl.swing.entity.SupplierReport;
import com.jzl.swing.rowmapper.RowMapper;

public class SupplierReportRowMapper implements RowMapper{

	@Override
	public Object getObjectMapper(ResultSet rSet) throws SQLException {
		SupplierReport supplierReport = new SupplierReport();
		supplierReport.setBill_price(rSet.getString("bill_price"));
		supplierReport.setBill_product_number(rSet.getString("bill_product_number"));
		supplierReport.setSupplier_id(rSet.getString("supplier_id"));
		supplierReport.setSupplier_name(rSet.getString("supplier_name"));
		
		
		
		return supplierReport;
	}

}
